package capricornus.actor.events
{
	import flash.events.Event;
	
	public class ActorEvent extends Event
	{
		public static const ACTOR_REFRESH:String = "1";
		
		public static const ACTION_TYPE_CHANGED:String = "2";
		
		public static const ACTOR_MOUSE_OVER:String = "3";
		public static const ACTOR_MOUSE_OUT:String = "4";
		public static const ACTOR_CLICK:String = "5";
		
		public static const MOVE_START:String = "6";
		public static const MOVE_DIRECT_CHANGED:String = "7";
		public static const MOVED:String = "8";
		public static const MOVE_STOP:String = "9";
		
		public static const SHOW_CHANGED:String = "10"; //是否隐藏事件
		
		/**
		 * 死亡消息
		 */		
		public static const ACTOR_DESTROYED:String = "11";
		
		/**
		 * 追踪追到了 
		 */		
		public static const TRACK_CATCH:String = "12";
		
		public var data:Object;
		
		public function ActorEvent(type:String, data:Object=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this.data = data;
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event
		{
			return this;
		}
	}
}